Ext.define('byb.view.system.AdmLogView', {
    extend: "Ext.window.Window",
    alias: 'widget.admLogView',
    autoShow: true,
    frame: true,
    modal: true,
    width: 800,
    height: 620,
	layout : "fit",
    title: '日志信息',
    autoScroll: true,
    resize: false,
    initComponent: function() {
        this.callParent(arguments);
    }
    ,items:[{
        xtype:"form",
        border: false,
        bodyPadding: '5 5 0',
        fieldDefaults: {
            margin: '10 20 0 10',
            labelStyle: 'margin-bottom: 5px',
            labelWidth: "70px",
            readOnly:true,
            width:400 
        },
        defaultType: 'displayfield',
        items: [{
        	fieldLabel:'用&nbsp;户&nbsp;名',
        	name: 'username'
        },{
        	fieldLabel:'来&nbsp;&nbsp;&nbsp;&nbsp;源',
        	name:'source'
        },{
        	fieldLabel:'链&nbsp;&nbsp;&nbsp;&nbsp;接',
        	name:'url'
        },{
        	fieldLabel:'记录时间',
        	name: 'logTime'
        }, {
        	fieldLabel:'描&nbsp;&nbsp;&nbsp;&nbsp;述',
        	xtype:'textarea',
        	name: 'description',
            width: 750,
            height: 350
        }],
        buttons: [{
            text: '取消',
            handler:function(){
            	Ext.ComponentQuery.query('admLogView')[0].close();
            }
        }]
    }]
});